<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  <meta content="" name="keywords">

  <title> Linux - </title>
  <meta name="description" content="" />
  <meta property="og:title" content="Linux" />
  <meta name="twitter:title" content="Linux" />
  <meta name="author" content="{Description { .Site.Author.name }}"/>
  <meta name="twitter:card" content="summary" />
  <meta property="og:url" content="https://systemime.github.io/categories/linux/" />
  <meta property="og:type" content="website" />
  <meta property="og:site_name" content="听风的小站" />

  <meta name="generator" content="Hugo 0.67.0" />
  <link rel="canonical" href="https://systemime.github.io/categories/linux/" />
  <link rel="alternate" href="https://systemime.github.io/index.xml" type="application/rss+xml" title="听风的小站">
  <script src="https://res.cloudinary.com/jimmysong/raw/upload/rootsongjc-hugo/jquery-1.12.4.min.js"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  
  
  <link rel="stylesheet" href="https://systemime.github.io/css/main.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/my.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/pace.css" />
  <link rel="stylesheet" href="https://cdn.plyr.io/3.4.7/plyr.css">
  <link rel="stylesheet" href="https://systemime.github.io/css/lightgallery.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/baguetteBox.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/search.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/reward.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/share.min.css" />
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
  <link rel="stylesheet" href="https://systemime.github.io/css/pygment_highlights.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/highlight.min.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/toc.css" />
  <link rel="stylesheet" href="https://systemime.github.io/css/lightbox.css" />
  <link rel="stylesheet" href="https://systemime.github.io/live2d/css/live2d.css" />
  
  <link href="https://systemime.github.io/css/video-js.css" rel="stylesheet">


<meta name="baidu-site-verification" content="g8IYR9SNLF" />
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?cffe439e37449bb1c07ab26ab56484bb";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

<link rel="stylesheet" href="https://systemime.github.io/css/prism.css" />









<script src="https://systemime.github.io/js/pace.min.js" data-no-instant></script>



<script src="https://systemime.github.io/js/instantclick.min.js" data-no-instant></script>
   <script data-no-instant>
   InstantClick.on('change', function(isInitialLoad) {
     if (isInitialLoad === false) {
       if (typeof MathJax !== 'undefined') 
         MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
       if (typeof prettyPrint !== 'undefined') 
         prettyPrint();
       if (typeof _hmt !== 'undefined')  
         _hmt.push(['_trackPageview', location.pathname + location.search]);
       if (typeof ga !== 'undefined')  
           ga('send', 'pageview', location.pathname + location.search);
     }
   });
   InstantClick.init();
</script>




<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.7.1/gist-embed.min.js"></script>


<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-3925981084585036",
    enable_page_level_ads: true
  });
</script>



<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.1/photoswipe.min.css" integrity="sha256-sCl5PUOGMLfFYctzDW3MtRib0ctyUvI9Qsmq2wXOeBY=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.1/default-skin/default-skin.min.css" integrity="sha256-BFeI1V+Vh1Rk37wswuOYn5lsTcaU96hGaI7OUVCLjPc=" crossorigin="anonymous" />



<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

<div class="pswp__bg"></div>

<div class="pswp__scroll-wrap">
    
    <div class="pswp__container">
      <div class="pswp__item"></div>
      <div class="pswp__item"></div>
      <div class="pswp__item"></div>
    </div>
    
    <div class="pswp__ui pswp__ui--hidden">
    <div class="pswp__top-bar">
      
      <div class="pswp__counter"></div>
      <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
      <button class="pswp__button pswp__button--share" title="Share"></button>
      <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
      <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
      
      
      <div class="pswp__preloader">
        <div class="pswp__preloader__icn">
          <div class="pswp__preloader__cut">
            <div class="pswp__preloader__donut"></div>
          </div>
        </div>
      </div>
    </div>
    <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
      <div class="pswp__share-tooltip"></div>
    </div>
    <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
    </button>
    <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
    </button>
    <div class="pswp__caption">
      <div class="pswp__caption__center"></div>
    </div>
    </div>
    </div>
</div>

</head>

  <body>
    <nav class="navbar navbar-default navbar-fixed-top navbar-custom">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="https://systemime.github.io">听风的小站</a>
    </div>
    <div class="collapse navbar-collapse" id="main-navbar">
      <ul class="nav navbar-nav navbar-right">
        
          
            <li>
		    <a title="博客" href="https://systemime.github.io/blog/">博客</a>
              
              
            </li>
          
        
          
            <li>
		    <a title="片刻" href="https://systemime.github.io/moment/">片刻</a>
              
              
            </li>
          
        
          
            <li>
		    <a title="关于" href="https://systemime.github.io/about/">关于</a>
              
              
            </li>
          
        
          
            <li>
		    <a title="留言" href="https://systemime.github.io/message/">留言</a>
              
              
            </li>
          
        

        

        
        
      </ul>
    </div>

    <div class="avatar-container">
      <div class="avatar-img-border">
        
      </div>
    </div>

  </div>
</nav>






    
  <header class="header-section ">
    <div class="intro-header no-img">
      <div class="container">
        <div class="row">
          <div class="col-lg-12 col-md-12 col-md-offset-0">
            <div class="page-heading">
              <h1>#Linux</h1>
              <hr class="small">
            </div>
          </div>
        </div>
      </div>
    </div>
  </header>

    
  <div class="container" role="main">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        
        <div class="posts-list">
          
            <article class="post-preview">
              <a href="https://systemime.github.io/blog/2019-07/linux-%E6%89%B9%E9%87%8F%E6%9F%A5%E6%89%BE%E6%96%87%E4%BB%B6%E5%86%85%E5%AE%B9/">
                <h2 class="post-title">Linux 批量查找文件内容</h2>

                
              </a>

              <p class="post-meta">
                Posted on July 24, 2019
              </p>
              <div class="post-entry">
                
                  <h2 id="linux查找文件内容的常用命令方法">Linux查找文件内容的常用命令方法。</h2>
<h4 id="从文件内容查找匹配指定字符串的行">从文件内容查找匹配指定字符串的行：</h4>
<pre><code>$ grep &quot;被查找的字符串&quot; 文件名
</code></pre><ul>
<li>例子：在当前目录里第一级文件夹中寻找包含指定字符串的.in文件</li>
</ul>
<pre><code>grep &quot;thermcontact&quot; */*.in
</code></pre><h4 id="从文件内容查找与正则表达式匹配的行">从文件内容查找与正则表达式匹配的行：</h4>
<pre><code>$ grep –e “正则表达式” 文件名
</code></pre><h4 id="查找时不区分大小写">查找时不区分大小写：</h4>
<pre><code>$ grep –i &quot;被查找的字符串&quot; 文件
</code></pre><h4 id="查找匹配的行数">查找匹配的行数：</h4>
<pre><code>$ grep -c &quot;被查找的字符串&quot; 文件名
</code></pre><h4 id="从文件内容查找不匹配指定字符串的行">从文件内容查找不匹配指定字符串的行：</h4>
<pre><code>$ grep –v &quot;被查找的字符串&quot; 文件名
</code></pre><h4 id="查找符合条件后缀文件及内容">查找符合条件后缀文件及内容</h4>
<ul>
<li>从根目录开始查找所有扩展名为.log的文本文件，并找出包含”ERROR”的行</li>
</ul>
<pre><code>find / -type f -name &quot;*.log&quot; | xargs grep &quot;ERROR&quot;
</code></pre><ul>
<li>从当前目录开始查找所有扩展名为.in的文本文件，并找出包含”thermcontact”的行</li>
</ul>
<pre><code>find . -name &quot;*.in&quot; | xargs grep &quot;thermcontact&quot;
</code></pre>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://systemime.github.iotags/linux/">Linux</a>&nbsp;
                  
                    #<a href="https://systemime.github.iotags/%E6%9F%A5%E6%89%BE/">查找</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://systemime.github.io/blog/2019-07/%E5%8D%B8%E8%BD%BD%E5%AE%89%E9%AA%91%E5%A3%AB%E5%92%8C%E9%98%BF%E9%87%8C%E4%BA%91%E7%9B%BE%E8%85%BE%E8%AE%AF%E4%BA%91%E4%B9%9F%E5%8F%AF/">
                <h2 class="post-title">卸载安骑士和阿里云盾(腾讯云也可)</h2>

                
              </a>

              <p class="post-meta">
                Posted on July 19, 2019
              </p>
              <div class="post-entry">
                
                  <p>转自：<a href="https://laod.cn/security/quartz_uninstall.html">https://laod.cn/security/quartz_uninstall.html</a></p>
<p>百度云、阿里云、腾讯云这些云服务器中自带的监控，它会自动检测你的文章内容跟URL。</p>
<p>你可能会发现有些网站或者出现关键字会被扫描到提示不安全内容，而且可能会被自动屏蔽这篇文章的URL，甚至要求我们删除这篇文章。</p>
<h2 id="阿里云">阿里云</h2>
<h3 id="卸载安骑士">卸载安骑士</h3>
<div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="nx">wget</span> <span class="nx">http</span><span class="p">:</span><span class="c1">//update.aegis.aliyun.com/download/quartz_uninstall.sh
</span><span class="c1"></span><span class="err">#</span> <span class="nx">备份</span>
<span class="err">#</span> <span class="nx">wget</span> <span class="nx">https</span><span class="p">:</span><span class="c1">//github.com/systemime/my_image/blob/master/%E5%AE%89%E9%AA%91%E5%A3%AB/%E5%AE%89%E9%AA%91%E5%A3%AB%E5%8D%B8%E8%BD%BDquartz_uninstall.sh
</span><span class="c1"></span><span class="nx">chmod</span> <span class="nx">x</span> <span class="nx">quartz_uninstall</span><span class="p">.</span><span class="nx">sh</span>
<span class="p">.</span><span class="o">/</span><span class="nx">quartz_uninstall</span><span class="p">.</span><span class="nx">sh</span>
</code></pre></div><h3 id="删除残留文件">删除残留文件</h3>
<div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="nx">rm</span> <span class="o">-</span><span class="nx">rf</span> <span class="o">/</span><span class="nx">etc</span><span class="o">/</span><span class="nx">init</span><span class="p">.</span><span class="nx">d</span><span class="o">/</span><span class="nx">agentwatch</span> <span class="o">/</span><span class="nx">usr</span><span class="o">/</span><span class="nx">sbin</span><span class="o">/</span><span class="nx">aliyun</span><span class="o">-</span><span class="nx">service</span>
<span class="nx">rm</span> <span class="o">-</span><span class="nx">rf</span> <span class="o">/</span><span class="nx">usr</span><span class="o">/</span><span class="nx">local</span><span class="o">/</span><span class="nx">aegis</span><span class="o">*</span>
</code></pre></div><h3 id="屏蔽云盾">屏蔽云盾</h3>
<div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.201.0</span><span class="o">/</span><span class="mi">28</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.201.16</span><span class="o">/</span><span class="mi">29</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.201.32</span><span class="o">/</span><span class="mi">28</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.225.192</span><span class="o">/</span><span class="mi">29</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.225.200</span><span class="o">/</span><span class="mi">30</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.225.184</span><span class="o">/</span><span class="mi">29</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.225.183</span><span class="o">/</span><span class="mi">32</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.225.206</span><span class="o">/</span><span class="mi">32</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.225.205</span><span class="o">/</span><span class="mi">32</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.225.195</span><span class="o">/</span><span class="mi">32</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
<span class="nx">iptables</span> <span class="o">-</span><span class="nx">I</span> <span class="nx">INPUT</span> <span class="o">-</span><span class="nx">s</span> <span class="mf">140.205.225.204</span><span class="o">/</span><span class="mi">32</span> <span class="o">-</span><span class="nx">j</span> <span class="nx">DROP</span>
</code></pre></div><p>写入之后然后保存iptables，这样就完成了屏蔽阿里云安骑士，以及云盾。</p>
<h3 id="再开启">再开启</h3>
<div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="nx">wget</span> <span class="nx">http</span><span class="p">:</span><span class="c1">//update.aegis.aliyun.com/download/install.sh
</span><span class="c1"></span><span class="err">#</span> <span class="nx">备份</span>
<span class="err">#</span> <span class="nx">wget</span> <span class="nx">https</span><span class="p">:</span><span class="c1">//github.com/systemime/my_image/blob/master/%E5%AE%89%E9%AA%91%E5%A3%AB/%E5%AE%89%E9%AA%91%E5%A3%AB%E5%AE%89%E8%A3%85install.sh
</span><span class="c1"></span><span class="nx">chmod</span> <span class="nx">x</span> <span class="nx">install</span><span class="p">.</span><span class="nx">sh</span>
<span class="nx">sh</span> <span class="nx">install</span><span class="p">.</span><span class="nx">sh</span>
</code></pre></div><p>安骑士安装，云盾只要将iptables中释放屏蔽的IP段即可。</p>
<h2 id="腾讯云">腾讯云</h2>
<p>操作方法跟阿里云也差不多一样。</p>
<p>如果是新装，在默认安装系统的时候不要勾选安全云镜和安全监控软件。</p>
<p>如果选择默认安装了监控软件后如何卸载，操作如下：</p>
<div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="p">.</span><span class="o">/</span><span class="nx">usr</span><span class="o">/</span><span class="nx">local</span><span class="o">/</span><span class="nx">qcloud</span><span class="o">/</span><span class="nx">stargate</span><span class="o">/</span><span class="nx">admin</span><span class="o">/</span><span class="nx">uninstall</span><span class="p">.</span><span class="nx">sh</span>
<span class="p">.</span><span class="o">/</span><span class="nx">usr</span><span class="o">/</span><span class="nx">local</span><span class="o">/</span><span class="nx">qcloud</span><span class="o">/</span><span class="nx">monitor</span><span class="o">/</span><span class="nx">barad</span><span class="o">/</span><span class="nx">admin</span><span class="o">/</span><span class="nx">uninstall</span><span class="p">.</span><span class="nx">sh</span>
<span class="p">.</span><span class="o">/</span><span class="nx">usr</span><span class="o">/</span><span class="nx">local</span><span class="o">/</span><span class="nx">sa</span><span class="o">/</span><span class="nx">agent</span><span class="o">/</span><span class="nx">uninstall</span><span class="p">.</span><span class="nx">sh</span>
<span class="nx">rm</span> <span class="o">-</span><span class="nx">rf</span> <span class="o">/</span><span class="nx">usr</span><span class="o">/</span><span class="nx">local</span><span class="o">/</span><span class="nx">qcloud</span><span class="o">/</span>
<span class="nx">rm</span> <span class="o">-</span><span class="nx">rf</span> <span class="o">/</span><span class="nx">usr</span><span class="o">/</span><span class="nx">local</span><span class="o">/</span><span class="nx">sa</span><span class="o">/</span>
<span class="nx">rm</span> <span class="o">-</span><span class="nx">rf</span> <span class="o">/</span><span class="nx">usr</span><span class="o">/</span><span class="nx">local</span><span class="o">/</span><span class="nx">agenttools</span>
</code></pre></div>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://systemime.github.iotags/shell/">shell</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://systemime.github.io/blog/2019-07/wget%E7%9A%84%E9%AA%9A%E6%93%8D%E4%BD%9C/">
                <h2 class="post-title">wget的骚操作</h2>

                
              </a>

              <p class="post-meta">
                Posted on July 4, 2019
              </p>
              <div class="post-entry">
                
                  <h2 id="骚操作">骚操作</h2>
<p>有时候会用到网站仿站工具，或者爬虫啊、爬虫工具去采集资源，网站源码，但是今天发现<code>wget</code>还有这样的骚操作啊</p>
<div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class="n">wget</span> <span class="o">-</span><span class="n">r</span> <span class="o">-</span><span class="n">p</span> <span class="o">-</span><span class="n">np</span> <span class="o">-</span><span class="n">k</span> <span class="o">-</span><span class="n">P</span> <span class="o">/</span><span class="n">opt</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">qfdxz</span><span class="o">.</span><span class="n">top</span></code></pre></div>
<p>这个语句表示下载全站资料, 等于把一个网站整个静态化到本地。</p>
<p>解释一下参数
<div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class="o">-</span><span class="n">P</span>		<span class="err">表示下载到哪个目录</span>
<span class="o">-</span><span class="n">r</span>			<span class="err">表示递归下载</span>
<span class="o">-</span><span class="n">np</span>		<span class="err">表示不下载旁站连接</span><span class="o">.</span>
<span class="o">-</span><span class="n">k</span>		<span class="err">表示将下载的网页里的链接修改为本地链接</span><span class="o">.</span>
<span class="o">-</span><span class="n">p</span>		<span class="err">获得所有显示网页所需的元素</span></code></pre></div></p>
<p>额外的
<div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class="o">-</span><span class="n">c</span>			<span class="err">断点续传</span>
<span class="o">-</span><span class="n">nd</span>		<span class="err">递归下载时不创建一层一层的目录，把所有的文件下载到当前目录</span>
<span class="o">-</span><span class="n">L</span>		<span class="err">递归时不进入其它主机，如</span><span class="n">wget</span> <span class="o">-</span><span class="n">c</span> <span class="o">-</span><span class="n">r</span> <span class="n">www</span><span class="o">.</span><span class="n">xxx</span><span class="o">.</span><span class="n">org</span><span class="o">/</span>
<span class="o">-</span><span class="n">A</span>		<span class="err">指定要下载的文件样式列表，多个样式用逗号分隔</span>
<span class="o">-</span><span class="n">i</span>			<span class="err">后面跟一个文件，文件内指明要下载的</span><span class="n">URL</span></code></pre></div></p>
<h2 id="使用代理下载">使用代理下载</h2>
<div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="nx">wget</span> <span class="o">-</span><span class="nx">Y</span> <span class="nx">on</span> <span class="o">-</span><span class="nx">p</span> <span class="o">-</span><span class="nx">k</span> <span class="nx">https</span><span class="p">:</span><span class="c1">//sourceforge.net/projects/wvware/
</span></code></pre></div><p>代理可以在环境变量或wgetrc文件中设定</p>
<p><strong>在环境变量中设定代理</strong>
<div class="highlight"><pre class="chroma"><code class="language-c" data-lang="c"><span class="n">export</span> <span class="n">PROXY</span><span class="o">=</span><span class="nl">http</span><span class="p">:</span><span class="o">//</span><span class="mf">211.90.168.94</span><span class="o">:</span><span class="mi">8080</span><span class="o">/</span></code></pre></div></p>
<h2 id="在wgetrc中设定代理">在~/.wgetrc中设定代理</h2>
<div class="highlight"><pre class="chroma"><code class="language-http" data-lang="http"><span class="err">http_proxy = http://proxy.yoyodyne.com:18023/
</span><span class="err">ftp_proxy = http://proxy.yoyodyne.com:18023/</span></code></pre></div>
<p>wget各种选项分类列表</p>
<ul>
<li>
<p>启动
<div class="highlight"><pre class="chroma"><code class="language-shell" data-lang="shell">-V, –version					显示wget的版本后退出
-h, –help						打印语法帮助
-b, –background			启动后转入后台执行
-e, –execute<span class="o">=</span>COMMAND</code></pre></div></p>
<p>执行<code>.wgetrc</code>格式的命令，wgetrc格式参见<code>/etc/wgetrc</code>或<code>~/.wgetrc</code></p>
</li>
<li>
<p>记录和输入文件
<div class="highlight"><pre class="chroma"><code class="language-c" data-lang="c"><span class="o">-</span><span class="n">O</span><span class="p">,</span> <span class="err">–</span><span class="n">output</span><span class="o">-</span><span class="n">file</span><span class="o">=</span><span class="n">FILE</span>      <span class="err">把记录写到</span><span class="n">FILE文件中</span>
<span class="o">-</span><span class="n">a</span><span class="p">,</span> <span class="err">–</span><span class="n">append</span><span class="o">-</span><span class="n">output</span><span class="o">=</span><span class="n">FILE</span>    <span class="err">把记录追加到</span><span class="n">FILE文件中</span>
<span class="o">-</span><span class="n">d</span><span class="p">,</span> <span class="err">–</span><span class="n">debug</span>                 <span class="err">打印调试输出</span>
<span class="o">-</span><span class="n">q</span><span class="p">,</span> <span class="err">–</span><span class="n">quiet</span>                 <span class="err">安静模式</span><span class="p">(</span><span class="err">没有输出</span><span class="p">)</span>
<span class="o">-</span><span class="n">v</span><span class="p">,</span> <span class="err">–</span><span class="n">verbose</span>               <span class="err">冗长模式</span><span class="p">(</span><span class="err">这是缺省设置</span><span class="p">)</span>
<span class="o">-</span><span class="n">nv</span><span class="p">,</span> <span class="err">–</span><span class="n">non</span><span class="o">-</span><span class="n">verbose</span>          <span class="err">关掉冗长模式，但不是安静模式</span>
<span class="o">-</span><span class="n">i</span><span class="p">,</span> <span class="err">–</span><span class="n">input</span><span class="o">-</span><span class="n">file</span><span class="o">=</span><span class="n">FILE</span>       <span class="err">下载在</span><span class="n">FILE文件中出现的URLs</span>
<span class="o">-</span><span class="n">F</span><span class="p">,</span> <span class="err">–</span><span class="n">force</span><span class="o">-</span><span class="n">html</span>            <span class="err">把输入文件当作</span><span class="n">HTML格式文件对待</span>
<span class="o">-</span><span class="n">B</span><span class="p">,</span> <span class="err">–</span><span class="n">base</span><span class="o">=</span><span class="n">URL</span>              <span class="err">将</span><span class="n">URL作为在</span><span class="o">-</span><span class="n">F</span> <span class="o">-</span><span class="n">i参数指定的文件中出现的相对链接的前缀</span>
<span class="err">–</span><span class="n">sslcertfile</span><span class="o">=</span><span class="n">FILE</span>          <span class="err">可选客户端证书</span>
<span class="err">–</span><span class="n">sslcertkey</span><span class="o">=</span><span class="n">KEYFILE</span>        <span class="err">可选客户端证书的</span><span class="n">KEYFILE</span>
<span class="err">–</span><span class="n">egd</span><span class="o">-</span><span class="n">file</span><span class="o">=</span><span class="n">FILE</span>             <span class="err">指定</span><span class="n">EGD</span> <span class="n">socket的文件名</span></code></pre></div></p>
</li>
<li>
<p>下载
<div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class="err">–</span><span class="n">bind</span><span class="o">-</span><span class="n">address</span><span class="o">=</span><span class="n">ADDRESS</span>        <span class="err">指定本地使用地址</span><span class="p">(</span><span class="err">主机名或</span><span class="n">IP</span><span class="err">，当本地有多个</span><span class="n">IP或名字时使用</span><span class="p">)</span>
<span class="o">-</span><span class="n">t</span><span class="p">,</span> <span class="err">–</span><span class="n">tries</span><span class="o">=</span><span class="n">NUMBER</span>            <span class="err">设定最大尝试链接次数</span><span class="p">(</span><span class="mi">0</span> <span class="err">表示无限制</span><span class="p">)</span><span class="o">.</span>
<span class="o">-</span><span class="n">O</span> <span class="err">–</span><span class="n">output</span><span class="o">-</span><span class="n">document</span><span class="o">=</span><span class="n">FILE</span>     <span class="err">把文档写到</span><span class="n">FILE文件中</span>
<span class="o">-</span><span class="n">nc</span><span class="p">,</span> <span class="err">–</span><span class="n">no</span><span class="o">-</span><span class="n">clobber</span>             <span class="err">不要覆盖存在的文件或使用</span><span class="o">.</span><span class="c1">#前缀</span>
<span class="o">-</span><span class="n">c</span><span class="p">,</span> <span class="err">–</span><span class="k">continue</span>                <span class="err">接着下载没下载完的文件</span>
<span class="err">–</span><span class="n">progress</span><span class="o">=</span><span class="n">TYPE</span>               <span class="err">设定进程条标记</span>
<span class="o">-</span><span class="n">N</span><span class="p">,</span> <span class="err">–</span><span class="n">timestamping</span>            <span class="err">不要重新下载文件除非比本地文件新</span>
<span class="o">-</span><span class="n">S</span><span class="p">,</span> <span class="err">–</span><span class="n">server</span><span class="o">-</span><span class="n">response</span>         <span class="err">打印服务器的回应</span>
<span class="err">–</span><span class="n">spider</span>                      <span class="err">不下载任何东西</span>
<span class="o">-</span><span class="n">T</span><span class="p">,</span> <span class="err">–</span><span class="n">timeout</span><span class="o">=</span><span class="n">SECONDS</span>         <span class="err">设定响应超时的秒数</span>
<span class="o">-</span><span class="n">w</span><span class="p">,</span> <span class="err">–</span><span class="n">wait</span><span class="o">=</span><span class="n">SECONDS</span>            <span class="err">两次尝试之间间隔</span><span class="n">SECONDS秒</span>
<span class="err">–</span><span class="n">waitretry</span><span class="o">=</span><span class="n">SECONDS</span>           <span class="err">在重新链接之间等待</span><span class="mi">1</span><span class="err">…</span><span class="n">SECONDS秒</span>
<span class="err">–</span><span class="n">random</span><span class="o">-</span><span class="n">wait</span>                 <span class="err">在下载之间等待</span><span class="mi">0</span><span class="err">…</span><span class="mi">2</span><span class="o">*</span><span class="n">WAIT秒</span>
<span class="o">-</span><span class="n">Y</span><span class="p">,</span> <span class="err">–</span><span class="n">proxy</span><span class="o">=</span><span class="n">on</span><span class="o">/</span><span class="n">off</span>            <span class="err">打开或关闭代理</span>
<span class="o">-</span><span class="n">Q</span><span class="p">,</span> <span class="err">–</span><span class="n">quota</span><span class="o">=</span><span class="n">NUMBER</span>            <span class="err">设置下载的容量限制</span>
<span class="err">–</span><span class="n">limit</span><span class="o">-</span><span class="n">rate</span><span class="o">=</span><span class="n">RATE</span>             <span class="err">限定下载输率</span></code></pre></div></p>
</li>
<li>
<p>目录
<div class="highlight"><pre class="chroma"><code class="language-c" data-lang="c"><span class="o">-</span><span class="n">nd</span> <span class="err">–</span><span class="n">no</span><span class="o">-</span><span class="n">directories</span>             <span class="err">不创建目录</span>
<span class="o">-</span><span class="n">x</span><span class="p">,</span> <span class="err">–</span><span class="n">force</span><span class="o">-</span><span class="n">directories</span>          <span class="err">强制创建目录</span>
<span class="o">-</span><span class="n">nH</span><span class="p">,</span> <span class="err">–</span><span class="n">no</span><span class="o">-</span><span class="n">host</span><span class="o">-</span><span class="n">directories</span>       <span class="err">不创建主机目录</span>
<span class="o">-</span><span class="n">P</span><span class="p">,</span> <span class="err">–</span><span class="n">directory</span><span class="o">-</span><span class="n">prefix</span><span class="o">=</span><span class="n">PREFIX</span>    <span class="err">将文件保存到目录</span> <span class="n">PREFIX</span><span class="o">/</span><span class="err">…</span>
<span class="err">–</span><span class="n">cut</span><span class="o">-</span><span class="n">dirs</span><span class="o">=</span><span class="n">NUMBER</span>                <span class="err">忽略</span> <span class="n">NUMBER层远程目录</span></code></pre></div></p>
</li>
<li>
<p>HTTP 选项
<div class="highlight"><pre class="chroma"><code class="language-http" data-lang="http"><span class="err">–http-user=USER                设定HTTP用户名为 USER.
</span><span class="err">–http-passwd=PASS              设定http密码为 PASS.
</span><span class="err">-C, –cache=on/off              允许/不允许服务器端的数据缓存 (一般情况下允许).
</span><span class="err">-E, –html-extension            将所有text/html文档以.html扩展名保存
</span><span class="err">–ignore-length                 忽略 `Content-Length’头域
</span><span class="err">–header=STRING                 在headers中插入字符串 STRING
</span><span class="err">–proxy-user=USER               设定代理的用户名为 USER
</span><span class="err">–proxy-passwd=PASS             设定代理的密码为 PASS
</span><span class="err">–referer=URL                   在HTTP请求中包含 `Referer: URL’头
</span><span class="err">-s, –save-headers              保存HTTP头到文件
</span><span class="err">-U, –user-agent=AGENT          设定代理的名称为 AGENT而不是 Wget/VERSION.
</span><span class="err">–no-http-keep-alive            关闭 HTTP活动链接 (永远链接).
</span><span class="err">–cookies=off                   不使用 cookies.
</span><span class="err">–load-cookies=FILE             在开始会话前从文件 FILE中加载cookie
</span><span class="err">–save-cookies=FILE             在会话结束后将 cookies保存到 FILE文件中</span></code></pre></div></p>
</li>
<li>
<p>FTP 选项
<div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class="o">-</span><span class="n">nr</span><span class="p">,</span> <span class="err">–</span><span class="n">dont</span><span class="o">-</span><span class="n">remove</span><span class="o">-</span><span class="n">listing</span>       <span class="err">不移走</span> <span class="sb">`.listing`</span><span class="err">文件</span>
<span class="o">-</span><span class="n">g</span><span class="p">,</span> <span class="err">–</span><span class="n">glob</span><span class="o">=</span><span class="n">on</span><span class="o">/</span><span class="n">off</span>                <span class="err">打开或关闭文件名的</span> <span class="n">globbing机制</span>
<span class="err">–</span><span class="n">passive</span><span class="o">-</span><span class="n">ftp</span>                    <span class="err">使用被动传输模式</span> <span class="p">(</span><span class="err">缺省值</span><span class="p">)</span><span class="o">.</span>
<span class="err">–</span><span class="n">active</span><span class="o">-</span><span class="n">ftp</span>                     <span class="err">使用主动传输模式</span>
<span class="err">–</span><span class="n">retr</span><span class="o">-</span><span class="n">symlinks</span>                  <span class="err">在递归的时候，将链接指向文件</span><span class="p">(</span><span class="err">而不是目录</span><span class="p">)</span></code></pre></div></p>
</li>
<li>
<p>递归下载
<div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"><span class="o">-</span><span class="n">r</span><span class="p">,</span> <span class="err">–</span><span class="n">recursive</span>                  <span class="err">递归下载－－慎用!</span>
<span class="o">-</span><span class="n">l</span><span class="p">,</span> <span class="err">–</span><span class="n">level</span><span class="o">=</span><span class="n">NUMBER</span>               <span class="err">最大递归深度</span> <span class="p">(</span><span class="n">inf</span> <span class="err">或</span> <span class="mi">0</span> <span class="err">代表无穷</span><span class="p">)</span><span class="o">.</span>
<span class="err">–</span><span class="n">delete</span><span class="o">-</span><span class="n">after</span>                   <span class="err">在现在完毕后局部删除文件</span>
<span class="o">-</span><span class="n">k</span><span class="p">,</span> <span class="err">–</span><span class="n">convert</span><span class="o">-</span><span class="n">links</span>              <span class="err">转换非相对链接为相对链接</span>
<span class="o">-</span><span class="n">K</span><span class="p">,</span> <span class="err">–</span><span class="n">backup</span><span class="o">-</span><span class="n">converted</span>           <span class="err">在转换文件</span><span class="n">X之前</span><span class="err">，将之备份为</span> <span class="n">X</span><span class="o">.</span><span class="n">orig</span>
<span class="o">-</span><span class="n">m</span><span class="p">,</span> <span class="err">–</span><span class="n">mirror</span>                     <span class="err">等价于</span> <span class="o">-</span><span class="n">r</span> <span class="o">-</span><span class="n">N</span> <span class="o">-</span><span class="n">l</span> <span class="n">inf</span> <span class="o">-</span><span class="n">nr</span><span class="o">.</span>
<span class="o">-</span><span class="n">p</span><span class="p">,</span> <span class="err">–</span><span class="n">page</span><span class="o">-</span><span class="n">requisites</span>            <span class="err">下载显示</span><span class="n">HTML文件的所有图片</span></code></pre></div></p>
</li>
<li>
<p>递归下载中的包含和不包含(accept/reject)</p>
</li>
</ul>
<div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"><span class="o">-</span><span class="nx">A</span><span class="p">,</span> <span class="err">–</span><span class="nx">accept</span><span class="p">=</span><span class="nx">LIST</span>                <span class="nx">分号分隔的被接受扩展名的列表</span>
<span class="o">-</span><span class="nx">R</span><span class="p">,</span> <span class="err">–</span><span class="nx">reject</span><span class="p">=</span><span class="nx">LIST</span>                <span class="nx">分号分隔的不被接受的扩展名的列表</span>
<span class="o">-</span><span class="nx">D</span><span class="p">,</span> <span class="err">–</span><span class="nx">domains</span><span class="p">=</span><span class="nx">LIST</span>               <span class="nx">分号分隔的被接受域的列表</span>
<span class="err">–</span><span class="nx">exclude</span><span class="o">-</span><span class="nx">domains</span><span class="p">=</span><span class="nx">LIST</span>           <span class="nx">分号分隔的不被接受的域的列表</span>
<span class="err">–</span><span class="nx">follow</span><span class="o">-</span><span class="nx">ftp</span>                     <span class="nx">跟踪HTML文档中的FTP链接</span>
<span class="err">–</span><span class="nx">follow</span><span class="o">-</span><span class="nx">tags</span><span class="p">=</span><span class="nx">LIST</span>               <span class="nx">分号分隔的被跟踪的HTML标签的列表</span>
<span class="o">-</span><span class="nx">G</span><span class="p">,</span> <span class="err">–</span><span class="nx">ignore</span><span class="o">-</span><span class="nx">tags</span><span class="p">=</span><span class="nx">LIST</span>           <span class="nx">分号分隔的被忽略的HTML标签的列表</span>
<span class="o">-</span><span class="nx">H</span><span class="p">,</span> <span class="err">–</span><span class="nx">span</span><span class="o">-</span><span class="nx">hosts</span>                 <span class="nx">当递归时转到外部主机</span>
<span class="o">-</span><span class="nx">L</span><span class="p">,</span> <span class="err">–</span><span class="nx">relative</span>                   <span class="nx">仅仅跟踪相对链接</span>
<span class="o">-</span><span class="nx">I</span><span class="p">,</span> <span class="err">–</span><span class="nx">include</span><span class="o">-</span><span class="nx">directories</span><span class="p">=</span><span class="nx">LIST</span>   <span class="nx">允许目录的列表</span>
<span class="o">-</span><span class="nx">X</span><span class="p">,</span> <span class="err">–</span><span class="nx">exclude</span><span class="o">-</span><span class="nx">directories</span><span class="p">=</span><span class="nx">LIST</span>   <span class="nx">不被包含目录的列表</span>
<span class="o">-</span><span class="nx">np</span><span class="p">,</span> <span class="err">–</span><span class="nx">no</span><span class="o">-</span><span class="nx">parent</span>                 <span class="nx">不要追溯到父目录</span>
</code></pre></div>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://systemime.github.iotags/linux/">Linux</a>&nbsp;
                  
                    #<a href="https://systemime.github.iotags/wget/">wget</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://systemime.github.io/blog/2019-06/%E4%BF%AE%E6%94%B9linux%E8%BF%9C%E7%A8%8B%E7%99%BB%E5%BD%95%E6%8F%90%E7%A4%BA%E4%BF%A1%E6%81%AF/">
                <h2 class="post-title">修改Linux远程登录提示信息</h2>

                
              </a>

              <p class="post-meta">
                Posted on June 30, 2019
              </p>
              <div class="post-entry">
                
                  <h2 id="提示类型">提示类型</h2>
<p>你可以配置两种类型的提示信息。</p>
<p>用户登录前显示的提示信息（在你选择的文件中配置，例如 /etc/login.warn）</p>
<p>用户成功登录后显示的提示信息（在 /etc/motd 中配置）</p>
<h2 id="用户登录前连接系统时显示消息">用户登录前连接系统时显示消息</h2>
<p>当用户连接到服务器并且在登录之前，这个消息将被显示给他。意味着当他输入用户名时，该消息将在密码提示之前显示。</p>
<p>你可以使用任何文件名并在其中输入信息。在这里我们使用 /etc/login.warn 并且把我们的消息放在里面。</p>
<pre><code># cat /etc/login.warn
  !!!! Welcome to KernelTalks test server !!!!
This server is meant for testing Linux commands and tools. If you are
not associated with kerneltalks.com and not authorized please dis-connect
immediately.
</code></pre><p>现在，需要将此文件和路径告诉 sshd 守护进程，以便它可以为每个用户登录请求获取此标语。对于此，打开 <code>/etc/sshd/sshd_config</code> 文件并搜索 <code>#Banner none</code>。</p>
<p>这里你需要编辑该配置文件，并写下你的文件名并删除注释标记（#）。</p>
<pre><code>Banner /etc/login.warn
</code></pre><p>保存文件并重启 sshd 守护进程。为避免断开现有的连接用户，请使用 HUP 信号重启 sshd。</p>
<pre><code>root@kerneltalks # ps -ef | grep -i sshd
root  14255  1 0 18:42 ?  00:00:00 /usr/sbin/sshd -D
root  19074 14255 0 18:46 ?  00:00:00 sshd: ec2-user [priv]
root  19177 19127 0 18:54 pts/0 00:00:00 grep -i sshd
root@kerneltalks # kill -HUP 14255
</code></pre><p>就是这样了！打开新的会话并尝试登录。你将看待你在上述步骤中配置的消息。</p>
<h2 id="如何在用户登录后显示消息">如何在用户登录后显示消息</h2>
<p>消息用户在成功登录系统后看到的当天消息Message Of The Day（MOTD）由 <code>/etc/motd</code> 控制。编辑这个文件并输入当成功登录后欢迎用户的消息。</p>
<pre><code>root@kerneltalks # cat /etc/motd
   W E L C O M E
Welcome to the testing environment of kerneltalks.
Feel free to use this system for testing your Linux
skills. In case of any issues reach out to admin at
info@kerneltalks.com. Thank you.
</code></pre><p>你不需要重启 sshd 守护进程来使更改生效。只要保存该文件，sshd 守护进程就会下一次登录请求时读取和显示。</p>
<h2 id="其他">其他</h2>
<p>你可以使用 cowsay、banner、figlet、lolcat 等工具创建出色的引人注目的登录消息。此方法适用于几乎所有 Linux 发行版，如 RedHat、CentOs、Ubuntu、Fedora 等。</p>

                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://systemime.github.iotags/linux/">Linux</a>&nbsp;
                  
                    #<a href="https://systemime.github.iotags/%E7%99%BB%E5%BD%95%E4%BF%A1%E6%81%AF/">登录信息</a>&nbsp;
                  
                </span>
              

            </article>
          
        </div>
        
          <ul class="pager main-pager">
            
              <li class="previous">
                <a href="https://systemime.github.io/categories/linux/page/2">&larr; Newer Posts</a>
              </li>
            
            
              <li class="next">
                <a href="https://systemime.github.io/categories/linux/page/4">Older Posts &rarr;</a>
              </li>
            
          </ul>
        
      </div>
    <div align="center" class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        

<ul class="pagination">
    
    <li class="page-item">
        <a href="https://systemime.github.io/categories/linux/" class="page-link" aria-label="First"><span aria-hidden="true">&laquo;&laquo;</span></a>
    </li>
    
    <li class="page-item">
    <a href="https://systemime.github.io/categories/linux/page/2/" class="page-link" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a>
    </li>
    
    
    
    
    
    
    
        
        
    
    
    <li class="page-item"><a class="page-link" href="https://systemime.github.io/categories/linux/">1</a></li>
    
    
    
    
    
    
        
        
    
    
    <li class="page-item"><a class="page-link" href="https://systemime.github.io/categories/linux/page/2/">2</a></li>
    
    
    
    
    
    
        
        
    
    
    <li class="page-item active"><a class="page-link" href="https://systemime.github.io/categories/linux/page/3/">3</a></li>
    
    
    
    
    
    
        
        
    
    
    <li class="page-item"><a class="page-link" href="https://systemime.github.io/categories/linux/page/4/">4</a></li>
    
    
    
    
    
    
        
        
    
    
    <li class="page-item"><a class="page-link" href="https://systemime.github.io/categories/linux/page/5/">5</a></li>
    
    
    <li class="page-item">
    <a href="https://systemime.github.io/categories/linux/page/4/" class="page-link" aria-label="Next"><span aria-hidden="true">&raquo;</span></a>
    </li>
    
    <li class="page-item">
        <a href="https://systemime.github.io/categories/linux/page/5/" class="page-link" aria-label="Last"><span aria-hidden="true">&raquo;&raquo;</span></a>
    </li>
    
</ul>


        
        
        
        
        
      </div>
    </div>
  </div>

    <div class="rocket"><img src="https://systemime.github.io/img/rocket_up.png" alt="" width="100" height="100"></div>
<script>
    $(function () {
      $(window).scroll(function () {
        
        if ($(window).scrollTop() >= 1000) {
          $('.rocket').stop().fadeIn(1000);
        }else {
          $('.rocket').stop().fadeOut(1000);
        }
      })
      
      $('.rocket').click(function () {
        $('html,body').stop().animate({scrollTop:0},400);
       
      })
    })

</script>

    
    <div id="landlord">
        <div class="message" style="opacity:0"></div>
        <canvas id="live2d" width="280" height="250" class="live2d"></canvas>
        <div class="hide-button">隐藏</div>
    </div>
    
    <footer id="copyright">
  <div class="container">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        <ul class="list-inline text-center footer-links">
          
          
        </ul>
        <p class="credits copyright text-muted">
        &copy;2017-2018
          
          &nbsp;&bull;&nbsp;
          September 20,2019
          updated
          
            &nbsp;&bull;&nbsp;
            <a href="https://systemime.github.io">Home</a>
          
        </p>

        <p class="credits theme-by text-muted">
        <a href="https://servicemesher.github.io" target="_blank">ServiceMesher</a>&nbsp;&bull;&nbsp;<a href="https://github.com/yangchuansheng/k8s-knowledge" target="_blank">Kubernetes 知识图谱</a>
        <br />
        <span id="busuanzi_container_site_pv">
            本站已被访问 <span id="busuanzi_value_site_pv"></span> 次啦
        </span>
        <span id="busuanzi_container_site_uv">
            &ensp;|&ensp;&thinsp;您是第 <span id="busuanzi_value_site_uv"></span> 位到访的小伙伴喔
        </span>
        </p>
        
        <p class="credits theme-by text-muted">
          <a href="http://gohugo.io">Hugo v0.67.0</a> powered &nbsp;&bull;&nbsp; Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>
          
          <center><section class="credits theme-by text-muted">
    <span class="footer__copyright">
    <div>
    <span id="span_dt_dt"> </span>
    <script language="javascript">
      function show_date_time(){
        window.setTimeout("show_date_time()", 1000);
        BirthDay=new Date("7/8/2017 10:56:12");
        today=new Date();
        timeold=(today.getTime()-BirthDay.getTime());
        sectimeold=timeold/1000
        secondsold=Math.floor(sectimeold);
        msPerDay=24*60*60*1000
        e_daysold=timeold/msPerDay
        daysold=Math.floor(e_daysold);
        e_hrsold=(e_daysold-daysold)*24;
        hrsold=Math.floor(e_hrsold);
        e_minsold=(e_hrsold-hrsold)*60;
        minsold=Math.floor((e_hrsold-hrsold)*60);
        seconds=Math.floor((e_minsold-minsold)*60);
        span_dt_dt.innerHTML="本博客已经开心运行 "+daysold+" 天 "+hrsold+" 小时 "+minsold+" 分 "+seconds+" 秒";
      }
      show_date_time();
    </script>
    </div>
</script>
</section>
</center>
        </p>
      </div>
    </div>
  </div>
</footer>


<script src="https://res.cloudinary.com/jimmysong/raw/upload/rootsongjc-hugo/bootstrap.min.js"></script>
<script src="https://res.cloudinary.com/jimmysong/raw/upload/rootsongjc-hugo/photoswipe-ui-default.min.js"></script>
<script src="https://res.cloudinary.com/jimmysong/raw/upload/rootsongjc-hugo/photoswipe.min.js"></script>
<script src="https://res.cloudinary.com/jimmysong/raw/upload/rootsongjc-hugo/auto-render.min.js"></script>
<script src="https://systemime.github.io/js/main.js"></script>
<script src="https://systemime.github.io/js/clipboard.min.js"></script>
<script src="https://systemime.github.io/js/prism.js?t=123"></script>
<script src="https://systemime.github.io/js/highlight.min.js"></script>
<script src="https://res.cloudinary.com/jimmysong/raw/upload/rootsongjc-hugo/katex.min.js"></script>
<script src="https://systemime.github.io/js/reward.js"></script>
<script src="https://systemime.github.io/js/canvas_ribbon.js"></script>
<script> renderMathInElement(document.body); </script>

<script src="https://systemime.github.io/js/baguetteBox.js"></script>
<script> baguetteBox.run('.gallery');</script>






<script async defer src="https://buttons.github.io/buttons.js"></script>


<script src="https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver"></script>
<script type="text/javascript" src="https://systemime.github.io/js/quicklink.umd.js"></script>
<script>
window.addEventListener('load', () =>{
   quicklink();
});
</script>



<script type="text/javascript">
 
var a_idx = 0;
jQuery(document).ready(function($) {
    $("body").click(function(e) {
        var a = new Array("Docker", "Kubernetes", "Prometheus", "Envoy", "Istio", "Service Mesh", "Cloud Native");
        var $i = $("<span />").text(a[a_idx]);
        a_idx = (a_idx + 1) % a.length;
        var x = e.pageX,
        y = e.pageY;
        function randomColor() {
          var flakeColor = new Array("#FFDA65", "#00BFFF", "#BA55D3", "#FFA07A", "#87CEEB", "#FFB6C1");
          var snowColor = flakeColor[Math.floor(flakeColor.length * Math.random())];
          return snowColor;
        }
        $i.css({
            "z-index": 999999999999999999999999999999999999999999999999999999999999999999999,
            "top": y - 20,
            "left": x,
            "position": "absolute",
            "font-weight": "bold",
            "color": randomColor()
        });
        $("body").append($i);
        $i.animate({
            "top": y - 180,
            "opacity": 0
        },
        1500,
        function() {
            $i.remove();
        });
    });
});
</script>


<script type="text/javascript" src="https://systemime.github.io/js/lightbox.js"></script>











<script src="https://cdn.plyr.io/3.4.7/plyr.js"></script>
<script>const player = new Plyr('#player');</script>


<script async defer src="https://buttons.github.io/buttons.js"></script>


  </body>
</html>

